<?php 
        echo $this->Facebook->login(array('perms' => 'email,read_stream,publish_stream, read_friendlists'));
?>